Platform Explorer / Nuxeo Platform 2021.24

Contribution org.nuxeo.ecm.platform.threed.convert.commandline--command

This contribution is part of XML component org.nuxeo.ecm.platform.threed.convert.commandline inside nuxeo-platform-3d-2021.24.3.jar /OSGI-INF/commandline-contrib.xml

Extension Point

Extension point command of component CommandLineExecutorComponent.

Registration Order

1
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <command enabled="true" name="blender_pipeline">
          <commandLine>docker</commandLine>
          <testParameterString>pull nuxeo/blender</testParameterString>
          <parameterString>run --name #{name} --volumes-from #{data} nuxeo/blender
            -P /scripts/#{scriptFile} -- --input /in/#{inFile} --outdir /out --operators #{operators}
            --renderids #{renderIds} -li #{lodIds} -pp #{percPoly} -mp #{maxPoly} -d #{dimensions} -c #{coords}
          </parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="collada2gltlf">
          <commandLine>docker</commandLine>
          <testParameterString>pull nuxeo/collada2gltf</testParameterString>
          <parameterString>run --name #{name} --volumes-from #{data} nuxeo/collada2gltf
            -f /in/#{inFile} -o /out/#{outFile} -e</parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="create_container">
          <commandLine>docker</commandLine>
          <testParameterString>version</testParameterString>
          <parameterString>create --name #{name} #{image} </parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="remove_container">
          <commandLine>docker</commandLine>
          <testParameterString>version</testParameterString>
          <parameterString>rm #{name} </parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="copy_container">
          <commandLine>docker</commandLine>
          <testParameterString>version</testParameterString>
          <parameterString>cp #{source} #{destination}</parameterString>
          <installationDirective>Please, install docker (https://www.docker.com/)
          </installationDirective>
        </command>
  • <command enabled="true" name="useruid">
          <commandLine>id</commandLine>
          <testParameterString>-u</testParameterString>
          <parameterString>-u #{username}</parameterString>
          <installationDirective>Please, install id command</installationDirective>
        </command>

XML Source

<extension point="command" target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent">

    <command enabled="true" name="blender_pipeline">
      <commandLine>docker</commandLine>
      <testParameterString>pull nuxeo/blender</testParameterString>
      <parameterString>run --name #{name} --volumes-from #{data} nuxeo/blender
        -P /scripts/#{scriptFile} -- --input /in/#{inFile} --outdir /out --operators #{operators}
        --renderids #{renderIds} -li #{lodIds} -pp #{percPoly} -mp #{maxPoly} -d #{dimensions} -c #{coords}
      </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="collada2gltlf">
      <commandLine>docker</commandLine>
      <testParameterString>pull nuxeo/collada2gltf</testParameterString>
      <parameterString>run --name #{name} --volumes-from #{data} nuxeo/collada2gltf
        -f /in/#{inFile} -o /out/#{outFile} -e</parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="create_container">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>create --name #{name} #{image} </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="remove_container">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>rm #{name} </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="copy_container">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>cp #{source} #{destination}</parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command enabled="true" name="useruid">
      <commandLine>id</commandLine>
      <testParameterString>-u</testParameterString>
      <parameterString>-u #{username}</parameterString>
      <installationDirective>Please, install id command</installationDirective>
    </command>
  </extension>